package org.sang.service;

import org.sang.pojo.RespBean;
import org.sang.pojo.dto.ExamAnswerDTO;
import org.sang.pojo.dto.ExamQuestionDTO;

import java.util.List;

public interface ExamQuestionAnswerService {

    RespBean<Integer> addExamQuestion(ExamQuestionDTO examQuestion);

    RespBean<List<ExamQuestionDTO>> getExamQuestionsByCateName(String cateName);

    RespBean<ExamAnswerDTO> getExamAnswerByQuestionId(Integer questionId);
}
